<?php

class Domain51_Service_Amazon_S3_Service
{
    private $_connection;
    
    public function __construct($config) 
    {
        $this->_connection = $config['connection'];
    }
    
    public function get() 
    {
        $response = $this->_connection->doRequest('GET', '/');
        if ($response->getResponseCode() == 200) {
            return $response->getBody();
        } else {
            // do some sort of error handling
        }
    }
}

?>